//INCLUDES//
#include "tree.h"
#include <iostream>
#include <vector>
#include <string>
#include <sstream>
using namespace std;
//INCLUDES//


//MAIN//
int main(int argc, char* argv[])
{

	//START MANUAL TREE CONSTRUCTION//
	/*
	node* root = new node("");
	node* left_child = new node("left_child");
	node* right_child = new node("right_child");
	//node* child3 = new node("child3");
	//node* child4 = new node("child4");
	
	root->add_child(left_child);
	root->add_child(right_child);
	//left_child->add_child(child3);
	//child3->add_child(child4);

	cout<<root<<endl;
	delete root;
	*/
	//END MANUAL TREE CONSTRUCTION//



	//START AUTOMATICALLY TREE CONSTRUCTION//
	node* node_1;
	node_1 = create_complete_tree(2, 4);

	cout<<node_1<<endl;
	delete node_1;
	//END AUTOMATICALLY TREE CONSTRUCTION//


	//std::cout<<node_1->countAllLowerNodes()<<std::endl;

	system("pause");
	return 0;
}
//MAIN//